<template>
	<ul>
		<li class='h40 bbor1 tap cp' v-for='(v,i) of data' :key='i'>
			<router-link class='wh db fx' :to="'/main/workbench/flow/flow-wait/review?taskId='+v.taskId+'&processInstanceId='+v.processInstanceId+'&processDefinitionKey='+v.processDefinitionKey+'&title='+v.processDefinitionName">
				<p class='ex omits-1'>{{v[name]}}</p>
				<time>{{v[time]}}</time>
			</router-link>
		</li>
	</ul>
</template>

<script setup>
	/* --------------------------- props --------------------------- */
	defineProps({
		data:{ type:Array, default: ()=>[]},
		name:String,
		time:String,
		taskId:String,
		processInstanceId:String
	})
</script>
